package com.shuhua.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 任务评论实体类
 */
@Data
@TableName("task_comment")
public class TaskComment {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("task_id")
    private Long taskId;
    
    @TableField("commentman_id")
    private Long commentmanId;
    
    private String content;
    
    @TableField("created_at")
    private Date createdAt;

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getCommentmanId() {
        return commentmanId;
    }

    public void setCommentmanId(Long commentmanId) {
        this.commentmanId = commentmanId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}
